/* 自定义CSS */
.chinese-theme {
    background: linear-gradient(to bottom, #fef4f4, #fff);
}

.dark-mode .chinese-theme {
    background: linear-gradient(to bottom, #2c1a1a, #1f2937);
}

.dish-header {
    background: linear-gradient(to right, #e53e3e, #dd6b20);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}


.ingredient-card {
    background: rgba(255, 245, 245, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    border-left: 4px solid #e53e3e;
}

.dark-mode .ingredient-card {
    background: rgba(55, 45, 45, 0.9);
    border-left: 4px solid #dd6b20;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.dark-mode .step-card {
    background: #374151;
    border: 1px solid #4b5563;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #e53e3e;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 0.75rem;
}

.dish-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dish-image:hover {
    transform: scale(1.02);
}

.history-section {
    background: rgba(254, 244, 244, 0.7);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px dashed #e53e3e;
}

.dark-mode .history-section {
    background: rgba(44, 26, 26, 0.7);
    border: 1px dashed #dd6b20;
}

.flavor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.flavor-tag {
    background: #fee2e2;
    color: #b91c1c;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.dark-mode .flavor-tag {
    background: #7f1d1d;
    color: #fecaca;
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #e53e3e;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: #c53030;
    transform: translateY(-2px);
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.nutrition-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dark-mode .nutrition-item {
    background: #374151;
}

.nutrition-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e53e3e;
    margin-bottom: 0.25rem;
}

.dark-mode .nutrition-value {
    color: #f87171;
}

.nutrition-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.dark-mode .nutrition-label {
    color: #d1d5db;
}